﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Teleplex.DataModels
{
    /// <summary>
    /// Object for storing info about TV Shows
    /// Includes a list of TVCharacter objects associated with the show
    /// </summary>
    public class TVShow
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Synopsis { get; set; }
        public string ImageURL { get; set; }
        public virtual List<TVCharacter> Characters { get; set; }

        public TVShow()
        {
            
        }
        public TVShow(string title, string synopsis, string image)
        {
            Title = title;
            Synopsis = synopsis;
            ImageURL = image;
        }

        public void SetProperties(TVShow show)
        {
            this.Title = show.Title;
            this.Synopsis = show.Synopsis;
            this.ImageURL = show.ImageURL;
        }

    }
}
